package com.snake.springboot.authority.dao.mybatis.mappers;

import com.snake.springboot.authority.dao.mybatis.entity.AuthMenuTreeDO;
import com.snake.springboot.authority.dao.mybatis.entity.AuthStrategyMenuDO;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface AuthStrategyMenuMapper {

    int delete(AuthStrategyMenuDO key);

    int insert(AuthStrategyMenuDO record);

    int insertBatch(@Param("records") List<AuthStrategyMenuDO> records);

    List<AuthStrategyMenuDO> findByCondition(AuthStrategyMenuDO condition);

    List<AuthMenuTreeDO> findMenuTree(@Param("strategyId") String strategyId, @Param("systemId") String systemId);
}